<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="yes"/>
	
	<xsl:template match="/">
		<html>
			<head>
				<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
				<title>Админ</title>
				<link rel="stylesheet" href="/css/XForms.css" type="text/css" charset="utf-8" />
				<script src="/js/jquery-1.2.6.pack.js" type="text/javascript" charset="utf-8"></script>
				<script src="/js/XForms-jquery.js" type="text/javascript" charset="utf-8"></script>
			</head>
			<body>
				<h1>Чувак, ты в админке!</h1>
				<p>Передали параметр: "<xsl:value-of select="$nya" disable-output-escaping="no"/>"</p>
				<xsl:apply-templates select="//message" />
				<!-- контент -->
				<xsl:apply-templates select="//content" />
				<!-- отладочные метки времени выполнения скриптов -->
				<xsl:comment>timetime</xsl:comment>
			</body>
		</html>
	</xsl:template>
	
	<xsl:template match="message">
		<p style="color: red">
			<xsl:value-of select="."/>
		</p>
	</xsl:template>
	
	<xsl:template match="content">
		<p style="color: red">Шаблон контента не определен или не подключен!</p>
		<pre style="background: #ebebeb; padding: 0.6em">
			<xsl:value-of select="." disable-output-escaping="yes"/>
		</pre>
	</xsl:template>

</xsl:stylesheet>